
 <div class="m_rightcon">
   
   <!--产品购买记录-->
   <div class="buyrecord">
     <h3 class="mem_title yellow_title">安全中心</h3>
     <div class="security">
        <ul>
          <li class="bar"> <i class="icon-security"></i>
            <span class="name">安全等级</span>
            <span class="progress prodress"></span>
            <span class="{if $Safety<3}levelLow{elseif $Safety<4}levelLow2{elseif $Safety>=4}levelLow3{/if}"></span>
            <a href="#" class="divid-button">低级</a>
          </li>
          <li> <i {if $email}class="icon-check"{else}class="icon-warning"{/if}></i>
            <span class="name">绑定邮箱</span>
            <span class="grayfont">{if $email}已绑定{else}未绑定{/if}</span>
            <a href="#" class="bluefont pull-right" data-reveal-id="emailChange" data-animation="fade">修改</a>
          </li>
          <li>
            <i class="icon-check"></i>
            <span class="name">登录密码</span>
            <span class="grayfont">登录时使用的密码</span>
             <a href="#" class="bluefont pull-right" data-reveal-id="pwdChange" data-animation="fade">修改</a>
          </li>
          <li>
            <i {if $idcard}class="icon-check"{else}class="icon-warning"{/if}></i>
            <span class="name">实名认证</span>
            <span class="grayfont">{if $idcard}已设置{else}未设置{/if}</span>
            <a href="#" class="bluefont pull-right" data-reveal-id="nameaction" data-animation="fade">{if $idcard}修改{else}验证{/if}</a>
          </li>
          <li>
            <i class="icon-check"></i>
            <span class="name">绑定手机</span>
            <span class="grayfont">{$mobile}</span>
            <a href="#" class="bluefont pull-right"  data-reveal-id="pnonechange" data-animation="fade">修改</a>
          </li>
          <li>
            <i {if $jypwd}class="icon-check"{else}class="icon-warning"{/if}></i>
            <span class="name">交易密码</span>
            <span class="grayfont">{if $jypwd}已设置{else}未设置{/if}</span>
            <a href="#" class="bluefont pull-right"   data-reveal-id="jypwdChange" data-animation="fade">{if $jypwd}修改{else}设置{/if}</a>
          </li>
          <li>
            <i class="icon-check"></i>
            <span class="name">用户名</span>
            <span class="grayfont">{$username}</span>
            <a href="#" class="bluefont pull-right"data-reveal-id="nameChange" data-animation="fade">修改</a>
          </li>
        </ul>
     </div>

   </div>
  
   
 </div>
</div>

<!--弹出框-->

<!--绑定邮箱-->
<div id="emailChange" class="reveal-modal">
  <h3>修改绑定邮箱</h3>
  <div class="cellform">
  <form action="{:U('User/Index/updateUserEmail')}" method="post">
    <!-- <dl class="hq-row">
      <dt>短信验证码</dt>
      <dd>
        <input type="text" class="input-s"/>    
        <a href="#" class="send-code">发送验证码</a>
      </dd>
    </dl> -->
    <dl class="hq-row">
      <dt>新电子邮箱</dt>
      <dd>
        <input name="email" type="text" class="input-l" value="{$email}" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt></dt>
      <dd>
        <input type="submit" class="smallbtn_y" value="提交"> 
        <a  class="smallbtn_g close-reveal-modal">取消</a>
      </dd>
    </dl>
    </form>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div>
<!--修改密码-->
<div id="pwdChange" class="reveal-modal">
  <h3>修改密码</h3>
  <div class="cellform">
  <form action="{:U('User/Index/updateUserjypwd')}" method="post">
    <dl class="hq-row">
      <dt>新密码：</dt>
      <dd>
        <input name="password" type="text" class="input-l" value="" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt>重复密码：</dt>
      <dd>
        <input name="repwd" type="text" class="input-l" value="" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt></dt>
      <dd>
        <input type="submit" class="smallbtn_y" value="提交"> 
        <a  class="smallbtn_g close-reveal-modal">取消</a>
      </dd>
    </dl>
    </form>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div>
<!--验证-->
<div id="nameaction" class="reveal-modal">
 <h3>实名认证</h3>
  <div class="cellform">
  <form action="{:U('User/Index/updateUserIdcard')}" method="post">
    <dl class="hq-row">
      <dt>真实姓名：</dt>
      <dd>
        <input name="realname" type="text" class="input-l" value="{$realname}" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt>身份证号码：</dt>
      <dd>
        <input name="idcard" type="text" class="input-l" value="{$idcard}" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt></dt>
      <dd>
        <input type="submit" class="smallbtn_y" value="提交"> 
        <a  class="smallbtn_g close-reveal-modal">取消</a>
      </dd>
    </dl>
    </form>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div>
<!-- <div id="nameaction" class="reveal-modal">
  <h3>实名认证</h3>
  <div class="cellform">
    <a class="authen fastauten" href="#"><span></span><p>快速验证</p></a>
    <a class="authen peaple" href="#"><span></span><p>人工验证</p></a>
    <p class="tips"><i class="redfont">*</i> &nbsp;&nbsp;若证件信息无误但无法通过快速验证，可尝试人工验证</p>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div> -->

<!--手机修改-->
<div id="pnonechange" class="reveal-modal">
  <h3>修改绑定手机</h3>
  <div class="cellform">
  <form action="{:U('User/Index/updateUserMobile')}" method="post">  
    <dl class="hq-row">
      <dt>原手机号</dt>
      <dd>
        <input type="text" class="input-s" value="{$mobile1}" />  
        <a href="#" class="send-code">发送验证码</a>
      </dd>
    </dl>
    <dl class="hq-row">
      <dt>短信验证码</dt>
      <dd>
        <input type="text" class="input-l"/>  
      </dd>
    </dl>
    <dl class="hq-row">
      <dt>新手机号</dt>
      <dd>
        <input name="mobile" type="text" class="input-l"/>  
      </dd>
    </dl>
    <dl class="hq-row">
      <dt></dt>
      <dd>
        <input type="submit" class="smallbtn_y" value="确认">
        <a  class="smallbtn_g close-reveal-modal">取消</a>
      </dd>
    </dl>
    </form>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div>

<!--修改交易密码-->
<div id="jypwdChange" class="reveal-modal">
  <h3>{if $jypwd}修改{else}设置{/if}交易密码</h3>
  <div class="cellform">
  <form action="{:U('User/Index/updateUserjypwd')}" method="post">  
    <dl class="hq-row">
      <dt>交易密码：</dt>
      <dd>
        <input name="jypwd" type="password" class="input-l" value="" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt>重复交易密码：</dt>
      <dd>
        <input name="repwd" type="password" class="input-l" value="" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt></dt>
      <dd>
        <input type="submit" class="smallbtn_y" value="提交"> 
        <a  class="smallbtn_g close-reveal-modal">取消</a>
      </dd>
    </dl>
    </form>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div>
<!--修改用户名-->
<div id="nameChange" class="reveal-modal">
  <h3>修改用户名</h3>
  <div class="cellform">
  <form action="{:U('User/Index/updateUsername')}" method="post">  
    <dl class="hq-row">
      <dt>新昵称：</dt>
      <dd>
        <input name="username" type="text" class="input-l" value="" />    
      </dd>
    </dl>
    <dl class="hq-row">
      <dt></dt>
      <dd>
        <input type="submit" class="smallbtn_y" value="提交"> 
        <a  class="smallbtn_g close-reveal-modal">取消</a>
      </dd>
    </dl>
    </form>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div>                                                                                                                                                                                                                                                                                                                                                                                                                                                 